###############################################################################
# SuperLinks                                                                  #
# Copyright (c) 2000-2007 Greg Nolle (http://greg.nolle.co.uk)                #
###############################################################################
# This program is free software; you can redistribute it and/or modify it     #
# under the terms of the GNU General Public License as published by the Free  #
# Software Foundation; either version 2 of the License, or (at your option)   #
# any later version.                                                          #
#                                                                             #
# This program is distributed in the hope that it will be useful, but WITHOUT #
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or       #
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for   #
# more details.                                                               ##                                                                             #
# You should have received a copy of the GNU General Public License along     #
# with this program; if not, write to the Free Software Foundation, Inc.,     #
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                 #
###############################################################################
# General.pm.pl -> General variable module                                    #
###############################################################################
# DON'T EDIT BELOW UNLESS YOU KNOW WHAT YOU'RE DOING!                         #
###############################################################################
package General;

require Exporter;

@ISA       = qw(Exporter);
@EXPORT    = qw(@EXPORT_OK);
@EXPORT_OK = qw($GENERAL);

use strict;
use vars qw($GENERAL);

$GENERAL = { #{start}
  "SITE_TITLE"                => "SuperLinks",
  "SITE_URL"                  => "http://www.plasmapulse.com/?sc=SuperLinks",
  "LINKS_TITLE"               => "SuperLinks",
  "LINKS_DESCRIPTION"         => "Place your links here.",

  "SKIN"                      => "SuperLinks3",

  "MAIL_FUNCTIONS"            => "1",
  "NOTIFY_ADMIN_OF_ADD"       => "1",
  "NOTIFY_ADMIN_OF_MOD"       => "1",
  "NOTIFY_USER_OF_ADD"        => "1",
  "NOTIFY_USER_OF_MOD"        => "1",
  
  "NOTIFY_ADMIN_OF_DEAD_LINK" => "1",
  "NOTIFY_ADMIN_OF_REMOVE"    => "1",

  "HTML_IN_ADMIN_EMAILS"      => "0",
  "HTML_IN_USER_EMAILS"       => "0",
  
  "HTML_IN_REVIEWS"           => "0",

  "VALIDATE_NEW_RESOURCES"    => "1",
  "VALIDATE_MOD_RESOURCES"    => "1",
  "VALIDATE_REM_RESOURCES"    => "1",
  
  "CHECK_DUPLICATE_PROTOCOL"  => "0",
  "CHECK_DUPLICATE_HOST"      => "0",
  "CHECK_DUPLICATE_PORT"      => "0",
  "CHECK_DUPLICATE_DIRECTORY" => "0",
  "CHECK_DUPLICATE_FILENAME"  => "0",
  "CHECK_DUPLICATE_EXTENSION" => "0",
  "CHECK_DUPLICATE_QUERY"     => "0",
  
  "CHECK_DUPLICATE_ACTION"    => "WARN",

  "CONTACT_EMAIL"             => "",
  "ADMIN_EMAIL"               => "",
  
  "DATE_FORMAT"               => "US",
  "TIME_FORMAT"               => "12",

  "NEW1_CUTOFF"               => "5",
  "NEW2_CUTOFF"               => "3",
  "NEW3_CUTOFF"               => "1",
  "HOT1_CUTOFF"               => "5",
  "HOT2_CUTOFF"               => "10",
  "HOT3_CUTOFF"               => "15",
  "COOL1_CUTOFF"              => "7",
  "COOL2_CUTOFF"              => "8",
  "COOL3_CUTOFF"              => "9",

  "WHAT_NEW_CUTOFF"           => "5",
  "WHAT_NEW_NUMBER"           => "10",
  "WHAT_HOT_CUTOFF"           => "5",
  "WHAT_HOT_NUMBER"           => "10",
  "WHAT_COOL_CUTOFF"          => "7",
  "WHAT_COOL_NUMBER"          => "10",
  
  "SEARCH_DEFAULT_FIELDS"     => ["TITLE", "DESCRIPTION", "KEYWORDS"],
  "SEARCH_DEFAULT_PERPAGE"    => "10",
  "SEARCH_DEFAULT_CASE"       => "0",
  "SEARCH_DEFAULT_WHOLE"      => "0",
  
  "CATEGORY_DEFAULT_SORT"     => "TITLE",
  "CATEGORY_DEFAULT_BY"       => "A-Z",
  "CATEGORY_DEFAULT_PERPAGE"  => "10",
  
  "WHAT_NEW_SORT_FIELD"       => "CREATE_SECOND",
  "WHAT_NEW_SORT_BY"          => "Z-A",
  "WHAT_HOT_SORT_FIELD"       => "HITS",
  "WHAT_HOT_SORT_BY"          => "Z-A",
  "WHAT_COOL_SORT_FIELD"      => "RATING",
  "WHAT_COOL_SORT_BY"         => "Z-A",
  
  "BAN_IPS"                   => [ ],
  "BAN_URLS"                  => [ ],
  "BAN_WORDS"                 => [ ],
  
  "SIZE_TITLE"                => "128",
  "SIZE_DESCRIPTION"          => "512",
  "SIZE_KEYWORDS"             => "512",
  
  "RESOURCE_EXTRA"            => [ ],
  "CATEGORY_EXTRA"            => [ ],
  
  "IMAGE_UPLOAD"              => "0",
  "IMAGE_URL"                 => "1",
  "UPLOAD_MAXSIZE"            => "512",
  "UPLOAD_MAXWIDTH"           => "100",
  "UPLOAD_MAXHEIGHT"          => "100",
  "UPLOAD_EXTENSIONS"         => ["gif", "jpg", "jpeg", "png"],
  
  "RANDOM_MIN_HITS"           => "0",
  "RANDOM_MIN_RATING"         => "0",
  "RANDOM_CATEGORIES"         => [ ],
  
  "FEATURED"                  => "1",
  "FEATURED_MIN_HITS"         => "0",
  "FEATURED_MIN_RATING"       => "0",
  "FEATURED_CATEGORIES"       => [ ]
}; #{end}

1;